package com.xingzhengfan.eurekaclient;

import java.io.Serializable;
import java.util.Date;

public class MQMessage implements Serializable {
    private String messageId;
    private String exchange;
    private String queuename;
    private String message;
    private int processed;
    private Date createTime;
    private Date updateTime;

    public MQMessage(String messageId, String exchange, String queuename, String message, int processed, Date createTime, Date updateTime) {
        this.messageId = messageId;
        this.exchange = exchange;
        this.queuename = queuename;
        this.message = message;
        this.processed = processed;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getQueuename() {
        return queuename;
    }

    public void setQueuename(String queuename) {
        this.queuename = queuename;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getProcessed() {
        return processed;
    }

    public void setProcessed(int processed) {
        this.processed = processed;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
